package cn.amarone.scaffold.service.impl;

import cn.amarone.scaffold.entity.SysMenu;
import cn.amarone.scaffold.mapper.SysMenuMapper;
import cn.amarone.scaffold.service.ISysMenuService;
import com.mybatisflex.core.query.QueryWrapper;
import com.mybatisflex.spring.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Amarone
 * @version 1.0
 * @description:
 * @date 2023/8/1 14:52
 */
@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu>
        implements ISysMenuService {
    @Override
    public List<SysMenu> selectListWithRelationsByQuery(QueryWrapper qw) {
        return mapper.selectListWithRelationsByQuery(qw);
    }
}
